package com.glsc.ngateway.flowable.service.feign;

import com.glsc.ngateway.common.api.common.config.FeignMultipartSupportConfig;
import com.glsc.ngateway.common.api.flowable.dto.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "amproduct", configuration = FeignMultipartSupportConfig.class) // 调用的服务的名称
public interface IEurekaAmproductFeignService {
    @RequestMapping(value = "/amproductAPI/api/amproduct/findAmProductUserIdList", method = RequestMethod.GET)
    Result<List<String>> findAmProductUserIdList(@RequestParam("requestParam") String requestParam);
}
